package com.business.service;

import java.util.List;
import org.apache.log4j.Logger;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.business.mapper.T_bussines_applyMapper;
import com.business.domain.T_bussines_apply;

@Service("t_bussines_applyService")
@Transactional
public class T_bussines_applyService{
	private static Logger log = Logger.getLogger(T_bussines_applyService.class.getName());

	@Resource
    private T_bussines_applyMapper t_bussines_applyMapper;


	public int save(T_bussines_apply obj){
		 return t_bussines_applyMapper.save(obj);
	}

	public int update(T_bussines_apply obj){
		return t_bussines_applyMapper.update(obj);
	}

	public int delete(T_bussines_apply obj){
		return t_bussines_applyMapper.delete(obj);
	}

	public T_bussines_apply findById(T_bussines_apply obj){
		return t_bussines_applyMapper.findById(obj);
	}

	public List findAll(T_bussines_apply obj ){
		 return t_bussines_applyMapper.findAll(obj);
	}

	public int findCountAll(T_bussines_apply obj ){
		 return t_bussines_applyMapper.findCountAll(obj);
	}
}
